package cn.com.wangluotongxin.netty.event;

import cn.com.wangluotongxin.admin.netty.pojo.MessageInfo;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class SendMessageEvent extends ApplicationEvent {

    private MessageInfo messageInfo;

    public SendMessageEvent(Object source, MessageInfo messageInfo) {
        super(source);
        this.messageInfo = messageInfo;
    }
}
